42
Is it possible to programmatically expand a folder (sample 1)

OleObject oCascadeFile

oCascadeFile = ole_1.Object
oCascadeFile.BeginUpdate()
oCascadeFile.Layout = "Expand0 = " + CHAR(34) + "c:\" + CHAR(34) + ";SelectMode0 = 0"
oCascadeFile.EndUpdate()

41
Can I limit the size of each cascade column, so the user can't resize them outside of the range I give
OleObject oCascadeFile

oCascadeFile = ole_1.Object
oCascadeFile.BeginUpdate()
oCascadeFile.HeaderVisible = false
oCascadeFile.Mode = 0
oCascadeFile.ColumnsVisible = 2
oCascadeFile.MinColumnWidth = 128
oCascadeFile.MaxColumnWidth = 256
oCascadeFile.EndUpdate()

40
How can I define the width of the cascade column

OleObject oCascadeFile

oCascadeFile = ole_1.Object
oCascadeFile.BeginUpdate()
oCascadeFile.Mode = 0
oCascadeFile.DefColumnWidth = 256
oCascadeFile.EndUpdate()

39
The scroll bars are too large. Can I make them smaller

OleObject oCascadeFile

oCascadeFile = ole_1.Object
oCascadeFile.BeginUpdate()
oCascadeFile.ScrollWidth = 4
oCascadeFile.ScrollHeight = 4
oCascadeFile.EndUpdate()

38
How do I enable the scrollbar-extension, as thumb to be shown outside of the control's client area

OleObject oCascadeFile

oCascadeFile = ole_1.Object
oCascadeFile.BeginUpdate()
oCascadeFile.ScrollPartVisible(0,65536,true)
oCascadeFile.ScrollPartVisible(1,65536,true)
oCascadeFile.ScrollPartVisible(2,65536,true)
oCascadeFile.ScrollWidth = 4
oCascadeFile.Background(276,RGB(240,240,240))
oCascadeFile.Background(260,RGB(128,128,128))
oCascadeFile.ScrollHeight = 4
oCascadeFile.Background(404,oCascadeFile.Background(276))
oCascadeFile.Background(388,oCascadeFile.Background(260))
oCascadeFile.Background(511,oCascadeFile.Background(276))
oCascadeFile.EndUpdate()
oCascadeFile.BeginUpdate()
oCascadeFile.ColumnsVisible = 2
oCascadeFile.HeaderVisible = false
oCascadeFile.FitCascadeColumns = 3
oCascadeFile.EndUpdate()

37
How can I lock / freeze the control events
/*begin event Event(long  EventID) - Notifies the application once the control fires an event.*/
/*
	oCascadeFile = ole_1.Object
	MessageBox("Information",string( String(oCascadeFile.EventParam(-2)) ))
*/
/*end event Event*/

OleObject oCascadeFile

oCascadeFile = ole_1.Object
oCascadeFile.FreezeEvents(true)

36
How can I display the list mode in the first view, and thumbnail in the second view

OleObject oCascadeFile

oCascadeFile = ole_1.Object
oCascadeFile.BeginUpdate()
oCascadeFile.AllowSplitView = 1
oCascadeFile.SplitViewHeight = "256"
oCascadeFile.Layout = "Select1=" + CHAR(34) + "c:\" + CHAR(34) + ";SelectMode1 = 2"
oCascadeFile.Layout = "Select0=" + CHAR(34) + "c:\" + CHAR(34) + ";SelectMode0 = 1"
oCascadeFile.EndUpdate()

35
How can I programmatically select a different folder in the second, or third view

OleObject oCascadeFile

oCascadeFile = ole_1.Object
oCascadeFile.BeginUpdate()
oCascadeFile.AllowSplitView = 1
oCascadeFile.SplitViewHeight = "256"
oCascadeFile.Layout = "Select1=" + CHAR(34) + "d:\" + CHAR(34) + ""
oCascadeFile.Layout = "Select0=" + CHAR(34) + "E:\" + CHAR(34) + ""
oCascadeFile.EndUpdate()

34
How can I programmatically vertically-split the control

OleObject oCascadeFile

oCascadeFile = ole_1.Object
oCascadeFile.BeginUpdate()
oCascadeFile.AllowSplitView = 2
oCascadeFile.SplitViewHeight = "256,256"
oCascadeFile.EndUpdate()

33
How can I find if the control is running in DPI mode
OleObject oCascadeFile

oCascadeFile = ole_1.Object
MessageBox("Information",string( String(oCascadeFile.FormatABC("dpi = 1 ? `normal/stretch mode` : `dpi mode`")) ))

32
How can I change the visual appearance of the +/- buttons, open/close glyphs as current visual theme

OleObject oCascadeFile,var_Appearance

oCascadeFile = ole_1.Object
oCascadeFile.BeginUpdate()
var_Appearance = oCascadeFile.VisualAppearance
	var_Appearance.Add(1,"XP:TREEVIEW 2 1")
	var_Appearance.Add(2,"XP:TREEVIEW 2 2")
oCascadeFile.Background(180,16777216 /*0x1000000*/)
oCascadeFile.Background(181,33554432 /*0x2000000*/)
oCascadeFile.EndUpdate()

31
How can I change the visual appearance of the +/- buttons

OleObject oCascadeFile,var_Appearance

oCascadeFile = ole_1.Object
oCascadeFile.BeginUpdate()
var_Appearance = oCascadeFile.VisualAppearance
	var_Appearance.Add(1,"gBFLBCJwBAEHhEJAAEhABDwCg6AADACAxRDgMQBQKAAzAJBIYhiG4cYCgMZhXDOCYXABCEYRXBIZQ7BKNIxjSJ5BhIAAyDSJMjSRJUEhqGCWYDleYYYAKHIMQLJQKQSBcQR9EaBZBAWTpQC0OJDTJRI4TNAgbSYAAYRqoCb6loTKypaxjCQQIgkUBpGKdBynEYsDwSGyJCCJWyIbpKAwoVbcs4AYhuJpaQi+d5PFbjVT8dLAMBwLA8EwXAJ+OpfDxXU7eFKpR5fchXTI8UxXFqXZhkeQrfh7KYVRBKdBQRBEFQPJqnahqOpaXo2RoLUJKcQwHTmHYNQTALyuTALZrWeZ3XrgN74LbtZzVQauYRpbCMEr6bpoWLnFi6Ho1U4llWah1jqSweFqfxPgQQRphi+Yak0YIuqUfJegef4zluaJ3nqPJeCYH4BAeX5TDLBpVGqKRRnwf4flefZtHsX54BYAR/F+EwVnUd5eAMMJKDIChygyIQpAoEh4iIJ5JlgXIcgCXpIGoFwnGEQh6BEKBgmMIICHgIJCAiUAzgyUoAhwJohkiRgygwYpiGoKwzGIcgKCkNQNCMRIbCYCRYk4QoMiOchWDwNBjhiJJaDYTRiGiFwlCQAhOE8JBJHITIRgwZRZFCFCZBkOIUhKTRpCWAwgGYQ4El4NxlBifIWCcCYCFoaoMGaKYyG6GxlBmGJdhkCAWBIeA5g4U4QhMJAImkPIShRVxGgQJRlCIUISh+SJpnCZIeBgFgiHgO4OlOMINCISByECDQikkGhuh2JwpmqBogCKaYiC6FwhmkQ4yHgYgYiaHopiuaRakCbIsisSpGjYOwaHYKYMCkK5CA2IxrCwCwFigaJrkLTI6lcdANAEgIA=")
	var_Appearance.Add(2,"gBFLBCJwBAEHhEJAAEhABEICg6AADACAxRDgMQBQKAAzAJBIYhiG4cYCgMZhXDOCYXABCEYRXBIZQ7BKNIxjSJ5BhIAAyDSJMjSRJUEhqGCWYDleYYYAKHIMQLJQKQSBcQR9EaBZBAWTpQC0OJDTJRI4TNAgbSYAAYRqoCb6loTKypaxjCQQIgkUBpGKdBynEYsDwSGyJCCJWyIbpKAwoVbcs4AYhuJpaQi+d5PFbjVT8dLAMBwLA8EwXAJ+OpfDxXU7eFKpR5fchXTI8UxXFqXZhkeQrfh7KYVRBKdBQRBEFQPJqnahqOpaXo2RoLUJKcQwHTmHYNQTALyuTALZrWeZ3XrgN74LbtZzVQauYRpbCMEr6bpoWLnFi6Ho1U4llWah1jqSweFqfxPgQQRphi+Yak0YIuqUfJeg8X4rluaZ3niGB+AQHx/EyShjjEVYqiUR5rnmex/GAB5+AIf4gEeXJFHyXZ3gCTAygyAociMKBKEKBIeCiCZyHYFAnCEeBkh+BghFgRIegOCgYCySAgh4CAkgINAMmMNIgCcCYjn4LoLmMCJGDKC5ijIagoDMYhCAoJg1A0IxEhsJgJFiThChCY5yFYPA0GOGIYloNhNGIaIXCUJACE4TwkEkchOFSFYlFkXhUCUCQZEYTglCSMxaEkYJIBmFJhDeDZZEYPwlgmQhghaGqVDoa4bGaeY6FGGZNlmFIBGEJ4jhiZQ5AkMhAg6E5JCkRoGCUSQ6B6CYiSCBIOh+DhJmmARiWQOJtDsCJSCSBwkXSLIRicaZ6HqIIomoIguhwIpphIHoWDsJ4mCGChpmqOpGheLIOkqUo2iya4DjGJxihiQoSj4IJaDaMpCjCWoGg6PgpBiQ4tHcQJQBAgI=")
oCascadeFile.Background(180,16777216 /*0x1000000*/)
oCascadeFile.Background(181,33554432 /*0x2000000*/)
oCascadeFile.EndUpdate()

30
How can I change the color for selected thumbnail

OleObject oCascadeFile

oCascadeFile = ole_1.Object
oCascadeFile.BeginUpdate()
oCascadeFile.Select = "c:\"
oCascadeFile.SelectMode = 2
oCascadeFile.Background(178,RGB(255,0,0))
oCascadeFile.Background(179,RGB(128,0,0))
oCascadeFile.EndUpdate()

29
How can I change the thumbnail's frame color

OleObject oCascadeFile

oCascadeFile = ole_1.Object
oCascadeFile.BeginUpdate()
oCascadeFile.Select = "c:\"
oCascadeFile.SelectMode = 2
oCascadeFile.Background(177,RGB(0,0,1))
oCascadeFile.EndUpdate()

28
Turn on the background-alternate colors, for Thumbnail view

OleObject oCascadeFile

oCascadeFile = ole_1.Object
oCascadeFile.BeginUpdate()
oCascadeFile.Select = "c:\"
oCascadeFile.SelectMode = 2
oCascadeFile.Background(175,RGB(128,128,128))
oCascadeFile.EndUpdate()

27
Is there any option I can highlight the panel view that currently has the focus

OleObject oCascadeFile

oCascadeFile = ole_1.Object
oCascadeFile.BeginUpdate()
oCascadeFile.Background(173,RGB(128,128,128))
oCascadeFile.EndUpdate()

26
I disabled the split bars, the question is how can I change the visual appearance of them

OleObject oCascadeFile

oCascadeFile = ole_1.Object
oCascadeFile.BeginUpdate()
oCascadeFile.Background(18,RGB(128,128,128))
oCascadeFile.Background(171,oCascadeFile.Background(18))
oCascadeFile.Background(142,oCascadeFile.Background(18))
oCascadeFile.Background(141,oCascadeFile.Background(18))
oCascadeFile.Background(170,RGB(2,0,0))
oCascadeFile.Background(172,oCascadeFile.Background(170))
oCascadeFile.HeaderVisible = false
oCascadeFile.Mode = 771 /*exAutoFitOnResizeClient | exDisableResizeCascadeColumns | exSplitFixCascadeMode*/
oCascadeFile.EndUpdate()

25
The control's split bar looks a bit larger, can I make it smaller

OleObject oCascadeFile

oCascadeFile = ole_1.Object
oCascadeFile.BeginUpdate()
oCascadeFile.VisualAppearance.Add(1,"gBFLBCJwBAEHhEJAAEhABNACg6AADACAxRDgMQBQKAAzAJBIYhiG4cYCgMZhXDOCYXABCEYRXBIZQ7BKNIxjSJwFiCCQwSDKEjyCKcGRHF6MI6gOYpCgOIYjRJNIASVAceAAGaUZrjSgobjmOYhAJCKJUWAFFoVDCgZThGgJHomMIhBDHASQTQ8EytJqmKajCaRSDUJZkWZOIyjBd6a5tVbXEaVTAccxhOKeahvGo5Fred40TRINCWHI1d4NH69JbwMILSgME6FABXdhWFC+Ex9Kiea7kOqIJwyA5bY5kGRWDRkLzROAALJ1Cz7KqydpDYyAGbABagAYfPy8JzxHKNarfA5GZzuG4zdi8U41WCBdpnHQNS4KL6ndBbWrdFoiC8X4QnAOQ8B4dwiHQCIEhQDQmDOIZUmQZYDkIVRSmIEQ3lUGwbEIRQQh4ZpeEQGIMB0JZdkoc4XnqVB/k0CAGAKAJgEgFgGgGYBXnyVA5mCRQ4maA5NjgRJvgSTwoFYFoFmGCBmBqBphhgTJvDcIkFlWCJhmOLgmDoYoIiYKoKmKSI2C6CwiGOLJwgyTJ4lYAg8mOCI+DqDpjkiMJ0g+TJZAYN4OGOWQWEaCpjnOUhBDMZAzk4MYTmUCRGFKFJlEkRhJhKZJTjIWoWmWSR2F6F5mAmBhbhWZAoASdYZk6WYmGqGpmkmNhuhulQonaHJlgmGhnDuJ4JmYeoemeSZ2H6H5nhmTJ2h0TQKAoHohmiCgmgqIpokoJJ3iOaBKDydw8GkShWhaJZpgoZoaiaaRTmKHokGieJiiKKJqEqFomimaoKg6Hg+CgSouimK5rAqRg4D4axKjaHoSGuCpmjqLprkqdo6i0D4aBKQIgiwSwWkaMZsgsJpGD6LJLAqNIyi0CxGlKHJskOahLgKJhzlaK4gi2GxOl6MZtjmTJOjiX5ThSWo5mMM5CkCOpukuNpujubwLiYEY8k2NQ4mqPZNhuZgIj6b5LnaeQ2GXsJrGuQAEAQgI")
oCascadeFile.AllowSplitView = 2
oCascadeFile.Background(18,16777216 /*0x1000000*/)
oCascadeFile.Background(142,16777216 /*0x1000000*/)
oCascadeFile.Background(141,16777216 /*0x1000000*/)
oCascadeFile.Background(170,RGB(3,0,0))
oCascadeFile.HeaderVisible = false
oCascadeFile.EndUpdate()

24
How can I change the status bar's visual appearance

OleObject oCascadeFile

oCascadeFile = ole_1.Object
oCascadeFile.BeginUpdate()
oCascadeFile.VisualAppearance.Add(1,"gB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ascadeFile.Background(169,RGB(255,255,255))
oCascadeFile.Background(174,25198720 /*0x1808080*/)
oCascadeFile.EndUpdate()

23
How can I change the status bar's visual appearance

OleObject oCascadeFile

oCascadeFile = ole_1.Object
oCascadeFile.BeginUpdate()
oCascadeFile.StatusBarVisible = 2
oCascadeFile.Background(168,RGB(40,40,40))
oCascadeFile.Background(169,RGB(255,255,255))
oCascadeFile.Background(174,RGB(128,128,128))
oCascadeFile.EndUpdate()

22
How can I change the visual appearance for all split-bars that the control displays

OleObject oCascadeFile

oCascadeFile = ole_1.Object
oCascadeFile.BeginUpdate()
oCascadeFile.VisualAppearance.Add(1,"gBFLBCJwBAEHhEJAAEhABNACg6AADACAxRDgMQBQKAAzAJBIYhiG4cYCgMZhXDOCYXABCEYRXBIZQ7BKNIxjSJwFiCCQwSDKEjyCKcGRHF6MI6gOYpCgOIYjRJNIASVAceAAGaUZrjSgobjmOYhAJCKJUWAFFoVDCgZThGgJHomMIhBDHASQTQ8EytJqmKajCaRSDUJZkWZOIyjBd6a5tVbXEaVTAccxhOKeahvGo5Fred40TRINCWHI1d4NH69JbwMILSgME6FABXdhWFC+Ex9Kiea7kOqIJwyA5bY5kGRWDRkLzROAALJ1Cz7KqydpDYyAGbABagAYfPy8JzxHKNarfA5GZzuG4zdi8U41WCBdpnHQNS4KL6ndBbWrdFoiC8X4QnAOQ8B4dwiHQCIEhQDQmDOIZUmQZYDkIVRSmIEQ3lUGwbEIRQQh4ZpeEQGIMB0JZdkoc4XnqVB/k0CAGAKAJgEgFgGgGYBXnyVA5mCRQ4maA5NjgRJvgSTwoFYFoFmGCBmBqBphhgTJvDcIkFlWCJhmOLgmDoYoIiYKoKmKSI2C6CwiGOLJwgyTJ4lYAg8mOCI+DqDpjkiMJ0g+TJZAYN4OGOWQWEaCpjnOUhBDMZAzk4MYTmUCRGFKFJlEkRhJhKZJTjIWoWmWSR2F6F5mAmBhbhWZAoASdYZk6WYmGqGpmkmNhuhulQonaHJlgmGhnDuJ4JmYeoemeSZ2H6H5nhmTJ2h0TQKAoHohmiCgmgqIpokoJJ3iOaBKDydw8GkShWhaJZpgoZoaiaaRTmKHokGieJiiKKJqEqFomimaoKg6Hg+CgSouimK5rAqRg4D4axKjaHoSGuCpmjqLprkqdo6i0D4aBKQIgiwSwWkaMZsgsJpGD6LJLAqNIyi0CxGlKHJskOahLgKJhzlaK4gi2GxOl6MZtjmTJOjiX5ThSWo5mMM5CkCOpukuNpujubwLiYEY8k2NQ4mqPZNhuZgIj6b5LnaeQ2GXsJrGuQAEAQgI")
oCascadeFile.AllowSplitView = 2
oCascadeFile.Background(18,16777216 /*0x1000000*/)
oCascadeFile.Background(142,16777216 /*0x1000000*/)
oCascadeFile.Background(141,16777216 /*0x1000000*/)
oCascadeFile.HeaderVisible = false
oCascadeFile.EndUpdate()

21
How can I change the visual appearance for all split-bars that the control displays

OleObject oCascadeFile

oCascadeFile = ole_1.Object
oCascadeFile.BeginUpdate()
oCascadeFile.AllowSplitView = 2
oCascadeFile.Background(18,RGB(0,0,1))
oCascadeFile.Background(142,RGB(0,0,1))
oCascadeFile.Background(141,RGB(0,0,1))
oCascadeFile.HeaderVisible = false
oCascadeFile.EndUpdate()

20
How can I change the tooltip's visual appearance

/*begin event MouseMove(integer  Button,integer  Shift,long  X,long  Y) - Occurs when the user moves the mouse.*/
/*
	oCascadeFile = ole_1.Object
	oCascadeFile.ShowToolTip("This is a bit of <b>HTML<b> text to be shown when the cursor hovers the control.")
*/
/*end event MouseMove*/

OleObject oCascadeFile

oCascadeFile = ole_1.Object
oCascadeFile.BeginUpdate()
oCascadeFile.VisualAppearance.Add(1,"gBFLBCJwBAEHhEJAAEhABEgDg6AADACAxRDgMQBQKAAzAJBIYhiG4cYCgMZhXDOCYXABCEYRXBIHQSDSEYyjGLIXAWCYSAAMIyDKAUEhyGCUBileQhVgyJI3RgMUIzVAcRRFEiUJQlIZZCgeCZETrPcaUVDcTQHJyRYDlWA3NBwJAAVTVcT0FJdCxEGiRBiqOZ5CAqH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cDInRdjMCuNYbovR2D2FyNgNIcAJC5FWKwNwcBqAzCWBoPgTA8BkEwFwN4HRjjyAMH8EgcQ5CaGIFoAAHQ3AoAAIAQBAQ==")
oCascadeFile.Background(64,16777216 /*0x1000000*/)
oCascadeFile.EndUpdate()

19
How can I change the tooltip's visual appearance

/*begin event MouseMove(integer  Button,integer  Shift,long  X,long  Y) - Occurs when the user moves the mouse.*/
/*
	oCascadeFile = ole_1.Object
	oCascadeFile.ShowToolTip("This is a bit of <b>HTML<b> text to be shown when the cursor hovers the control.")
*/
/*end event MouseMove*/

OleObject oCascadeFile

oCascadeFile = ole_1.Object
oCascadeFile.BeginUpdate()
oCascadeFile.Background(65,RGB(0,0,1))
oCascadeFile.Background(66,RGB(255,255,0))
oCascadeFile.EndUpdate()

18
How can I change the visual appearance of the control's split bar

OleObject oCascadeFile

oCascadeFile = ole_1.Object
oCascadeFile.BeginUpdate()
oCascadeFile.VisualAppearance.Add(1,"gBFLBCJwBAEHhEJAAEhABEgDg6AADACAxRDgMQBQKAAzAJBIYhiG4cYCgMZhXDOCYXABCEYRXBIHQSDSEYyjGLIXAWCYSAAMIyDKAUEhyGCUBileQhVgyJI3RgMUIzVAcRRFEiUJQlIZZCgeCZETrPcaUVDcTQHJyRYDlWA3NBwJAAVTVcT0FJdCxEGiRBiqOZ5CAqHIeU7IMI2HTNMStDCYRpEW4bTocMJ1QKNNzyRIkRShC6zLRnDAwApyLIuTBOcx0Pb+CQ5HgAMgnbA6Bg2XYNTRYNKRRjYKwTKCQJ5tOCbNq2W6WUhBFb2DYdewTQIAM6gO0cQyiAC2Lb0aR5brKdIoXpeAAcDblF4/BLZAA2DZsOhzBpjYreNBRBhuC+G4oFQOQ8liXw/BEX5pg4dY8GgHpCiGNJtHadJwDGFp7HuQpiF2OBRHsHZ7g+ZJkHofB7HARAkiAaQYkcQZUHIGRUGQDIuE2BAhDYBxGkMZAkCgRxRnWKAYEYB4ElmaQJAGQ42BgOxPCgdJMgeS7/CKCJiEiCJDgmThYiSfoKmGNAOBsOYjAMEgyDcYxDi4NoNmOCJmDoMhjkMYg+D8ZAEAyd4QkwWQUmqEZOmkJhKhKZJJDYSg8mUAwiFIOZlEQDJVhWTR5GSb4WmSaR2F6FpOniJJlDGJhEA4MgxA4OYknGGpPAmNhuhulRGHKGxLjmVQDC+J4DiYeg8GGWYuH6H5oAoBoCgcTwimaBodmeGZongPRPCoCoOiOZ5qBIIoiAuaZomkPoPGOToEiaaZKHaHYfiUA5OhMAAngoVh6iYKYqHqKoqmGWoGiOKRkHOKJ7D2TxKgaNotmuCpmFAPQrkqPh4iwaw6laOowmwOpwnSL4LmiXJ9D4TxbBqTozm0CxGjwPRtEsIJsjWT4Dlydo1C2Sx2l6N5uAOWpijIDpbhYQ42i4K4mmqOpukuMpnjIJIjmKco5m8S5WnaPZkDuSJ4h0S46FKcY8m+DAHAGPovkoUhgD4cILmsCpCnCTA" &
 +"2nKQgPhwFokh4JpjmsFpEDGDBnBqRpwgwWJ6kSKhZjie5FnGTIXCWR4yAmYh+D+D48g8HpLnMDJHDIPoylObwpWIY5/CyTJzkydw1kSIhzA6ZQ7E+fJrDWUZ0g0JxKksT5NDSPJTmUaRcmAN5Nn0FJ/lMdYNGcWpWnWHRaGAMZ2AQDoEDKNhLicVpViQDYnGqWpPl2HxFDQNwJgoLoGGaCcDInRdjMCuNYbovR2D2FyNgNIcAJC5FWKwNwcBqAzCWBoPgTA8BkEwFwN4HRjjyAMH8EgcQ5CaGIFoAAHQ3AoAAIAQBAQ==")
oCascadeFile.Background(18,16777216 /*0x1000000*/)
oCascadeFile.HeaderVisible = false
oCascadeFile.Mode = 0
oCascadeFile.EndUpdate()

17
How can I change the visual appearance of the control's split bar

OleObject oCascadeFile

oCascadeFile = ole_1.Object
oCascadeFile.BeginUpdate()
oCascadeFile.Background(18,RGB(240,240,240))
oCascadeFile.HeaderVisible = false
oCascadeFile.Mode = 0
oCascadeFile.EndUpdate()

16
How can I load images into the control

OleObject oCascadeFile

oCascadeFile = ole_1.Object
oCascadeFile.HTMLPicture("pic1","c:\exontrol\images\zipdisk.gif")
oCascadeFile.StatusBarVisible = 2
oCascadeFile.StatusBarLabel = "<img>pic1</img> This is picture into the control's status bar"

15
Is it possible to show my tooltip

/*begin event MouseMove(integer  Button,integer  Shift,long  X,long  Y) - Occurs when the user moves the mouse.*/
/*
	oCascadeFile = ole_1.Object
	oCascadeFile.ShowToolTip("This is a bit of <b>HTML<b> text to be shown when the cursor hovers the control.")
*/
/*end event MouseMove*/

OleObject oCascadeFile

oCascadeFile = ole_1.Object

14
Is it possible to change the tooltip's font

OleObject f,oCascadeFile

oCascadeFile = ole_1.Object
f = CREATE OLEObject
f.ConnectToNewObject("StdFont")
	f.Name = "Tahoma"
	f.Size = 12
oCascadeFile.ToolTipFont = f

13
Is it possible to change the tooltip's width

OleObject oCascadeFile

oCascadeFile = ole_1.Object
oCascadeFile.ToolTipWidth = 64

12
How can I disable the control
OleObject oCascadeFile

oCascadeFile = ole_1.Object
oCascadeFile.Enabled = false

11
How can I force refreshing the control
OleObject oCascadeFile

oCascadeFile = ole_1.Object
oCascadeFile.BeginUpdate()
oCascadeFile.Refresh()
oCascadeFile.EndUpdate()

10
How can I prevent showing any tooltip
OleObject oCascadeFile

oCascadeFile = ole_1.Object
oCascadeFile.ToolTipDelay = 0
oCascadeFile.ToolTipPopDelay = 0

9
How can I make the control's tooltip to be shown for a longer time

OleObject oCascadeFile

oCascadeFile = ole_1.Object
oCascadeFile.ToolTipPopDelay = 10000

8
How can I make the control's tooltip to be shown faster

OleObject oCascadeFile

oCascadeFile = ole_1.Object
oCascadeFile.ToolTipDelay = 1

7
How can I get the control's handle
OleObject oCascadeFile

oCascadeFile = ole_1.Object
MessageBox("Information",string( String(oCascadeFile.hWnd) ))

6
How can I clears the images into the control

OleObject oCascadeFile

oCascadeFile = ole_1.Object
oCascadeFile.Images("gBJJgBAIDAAGAAEAAQhYAf8Pf4hh0QihCJo2AEZjQAjEZFEaIEaEEaAIAkcbk0olUrlktl0vmExmUzmk1m03nE5nU7nk9n0/oFBoVDolFo1HpFJpVLplNp1PqFRqVTqlVq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1/wGBwWDwmFw2HxGJxWLxmNx0xiFdyOTh8Tf9ZymXx+QytcyNgz8r0OblWjyWds+m0ka1Vf1ta1+r1mos2xrG2xeZ0+a0W0qOx3GO4NV3WeyvD2XJ5XL5nN51aiw+lfSj0gkUkAEllHanHI5j/cHg8EZf7w8vl8j4f/qfEZeB09/vjLAB30+kZQAP/P5/H6/yNAOAEAwCjMBwFAEDwJBMDwLBYAP2/8Hv8/gAGAD8LQs9w/nhDY/oygIA=")
oCascadeFile.StatusBarVisible = 2
oCascadeFile.StatusBarLabel = "<img>1</img> This is an icon into the control's status bar"
oCascadeFile.ReplaceIcon(0,-1)

5
How can I load images into the control

OleObject oCascadeFile

oCascadeFile = ole_1.Object
oCascadeFile.Images("gBJJgBAIDAAGAAEAAQhYAf8Pf4hh0QihCJo2AEZjQAjEZFEaIEaEEaAIAkcbk0olUrlktl0vmExmUzmk1m03nE5nU7nk9n0/oFBoVDolFo1HpFJpVLplNp1PqFRqVTqlVq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1/wGBwWDwmFw2HxGJxWLxmNx0xiFdyOTh8Tf9ZymXx+QytcyNgz8r0OblWjyWds+m0ka1Vf1ta1+r1mos2xrG2xeZ0+a0W0qOx3GO4NV3WeyvD2XJ5XL5nN51aiw+lfSj0gkUkAEllHanHI5j/cHg8EZf7w8vl8j4f/qfEZeB09/vjLAB30+kZQAP/P5/H6/yNAOAEAwCjMBwFAEDwJBMDwLBYAP2/8Hv8/gAGAD8LQs9w/nhDY/oygIA=")
oCascadeFile.StatusBarVisible = 2
oCascadeFile.StatusBarLabel = "<img>1</img> This is an icon into the control's status bar"

4
How do I get the version of the control I am running
OleObject oCascadeFile

oCascadeFile = ole_1.Object
MessageBox("Information",string( oCascadeFile.Version ))

3
The control's foreground is changed if I open multiple views. What can be the problem

OleObject oCascadeFile

oCascadeFile = ole_1.Object
oCascadeFile.ForeColor = RGB(255,0,0)
oCascadeFile.ForeColorAlternate = oCascadeFile.ForeColor

2
The control's background is changed if I open multiple views. What can be the problem

OleObject oCascadeFile

oCascadeFile = ole_1.Object
oCascadeFile.BackColor = RGB(255,255,0)
oCascadeFile.BackColorAlternate = oCascadeFile.BackColor

1
How do I change the control's background color

OleObject oCascadeFile

oCascadeFile = ole_1.Object
oCascadeFile.BackColor = RGB(240,240,240)
oCascadeFile.BackColorAlternate = oCascadeFile.BackColor
oCascadeFile.HeaderVisible = false